package com.jgzx.common;

import java.io.Serializable;

/**
 * @Description
 * @Author chenzy
 * @Date 2021/9/10 16:01
 **/
public class Print<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 返回数据
     */
    private T data;

    /**
     * 总页数
     */
    private Long total;

    /**
     * 总记录数
     */
    private Long count;

    public Print() {
    }

    public Print(T data, Long total, Long count) {
        this.data = data;
        this.total = total;
        this.count = count;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }
}
